#!/bin/sh

app_path=$HOME/webapp
vscode_config=$HOME/mydotfiles/.vscode

rm -rf $HOME/webapp/
mkdir -p $app_path
vscode=".vscode"

App="svelthree-unocss threlte-unocss rust-demo vlang-demo astro-unocss kube.rs js_grafbase_svelte bun_houdini_docker_grafbase webrtc-demo webcontainers-demo"

for s in ${App}; do
    git clone --depth 1 https://gitee.com/softyouling/$s.git $app_path/$s
    ln -sf $vscode_config/ $app_path/$s/
done
